import Layout from '@/layout'

export default {
  path: '/departments',
  component: Layout,
  // 给 Layout 配置二级路由
  children: [
    {
      // 二级路由里面的 path 通常不需要加 斜杠 /
      // 如果 path 为空的话，会默认匹配当前路由
      path: '',
      name: 'departments',
      component: () => import('../../views/departments/departments.vue'),
      meta: { title: '组织架构', icon: 'tree' }

    }
  ]
}
